[mirrors]
http://bcrypt.sourceforge.net/bcrypt-1.1.tar.gz

[vars]
filesize=36781
sha512=4cc939e997b125b48a66c20469d9743ec227dbee080d89b1ab2515a3c41749c6e8fb6d2d4276cd23eaf6bed0614989431f1f87c23220a94ad595024f8985d68b
desc="A utility to encrypt files"

[deps]


[build]

sed -i -e "s%^CFLAGS = %CFLAGS = ${optcflags} %" -e "s%^LDFLAGS = .*%LDFLAGS = ${optldflags} -lz %" Makefile

make || exit 1

dest="$butch_install_dir""$butch_prefix"
mkdir -p "$dest"/bin
cp -a -f bcrypt "$dest"/bin/
